package hcn.mch.response;

import lombok.ToString;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.Date;
import java.util.List;

/**
 * 获取孕产妇访视名单
 **/
@ToString
@XmlRootElement(name = "Data")
public class QueryMotherVisitFromMcsVO {

    private List<VisitInfo> records;
    private String total;
    @XmlElement(name = "Total")
    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    @XmlElementWrapper(name = "Records")
    @XmlElement(name = "Record")
    public List<VisitInfo> getRecords() {
        return records;
    }

    public void setRecords(List<VisitInfo> records) {
        this.records = records;
    }

    @ToString
    public static class VisitInfo {

        /**
         * 访视档案ID
         */
        private String motherId;
        /**
         * 访视ID
         */
        private String recordId;
        /**
         * 产妇姓名
         */
        private String name;
        /**
         * 分娩日期;
         */
        private String checkTime;
        /**
         * 分娩医院代码
         */
        private String orgId;
        /**
         * 分娩医院名称
         */
        private String orgName;
        /**
         * 产妇联系电话
         */
        private String phone;
        /**
         * 丈夫姓名
         */
        private String husbandName;
        /**
         * 丈夫电话
         */
        private String husbandPhone;
        /**
         * 身份证件类别代码
         */
        private String idCardCode;
        /**
         * 身份证件号码
         */
        private String idCard;
        /**
         * 出院日期
         */
        private String leaveHospitalDate;
        /**
         * 妊娠高危分级
         */
        private String highRisk;
        /**
         * 产后天数
         */
        private String checkDays;
        /**
         * 上次访视ID
         */
        private String lastRecordId;
        /**
         * 下次访视日期
         */
        private String nextRecordDate;




        @XmlElement(name = "MotherId")
        public String getMotherId() {
            return motherId;
        }

        public void setMotherId(String motherId) {
            this.motherId = motherId;
        }

        @XmlElement(name = "RecordId")
        public String getRecordId() {
            return recordId;
        }

        public void setRecordId(String recordId) {
            this.recordId = recordId;
        }

        @XmlElement(name = "Name")
        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        @XmlElement(name = "CheckTime")
        public String getCheckTime() {
            return checkTime;
        }

        public void setCheckTime(String checkTime) {
            this.checkTime = checkTime;
        }

        @XmlElement(name = "VisitOrganization")
        public String getOrgId() {
            return orgId;
        }

        public void setOrgId(String orgId) {
            this.orgId = orgId;
        }

        @XmlElement(name = "VisitOrganizationName")
        public String getOrgName() {
            return orgName;
        }

        public void setOrgName(String orgName) {
            this.orgName = orgName;
        }

        @XmlElement(name = "Phone")
        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        @XmlElement(name = "HusbandName")
        public String getHusbandName() {
            return husbandName;
        }

        public void setHusbandName(String husbandName) {
            this.husbandName = husbandName;
        }

        @XmlElement(name = "HusbandPhone")
        public String getHusbandPhone() {
            return husbandPhone;
        }

        public void setHusbandPhone(String husbandPhone) {
            this.husbandPhone = husbandPhone;
        }

        @XmlElement(name = "IdCardCode")
        public String getIdCardCode() {
            return idCardCode;
        }

        public void setIdCardCode(String idCardCode) {
            this.idCardCode = idCardCode;
        }

        @XmlElement(name = "IdCard")
        public String getIdCard() {
            return idCard;
        }

        public void setIdCard(String idCard) {
            this.idCard = idCard;
        }

        @XmlElement(name = "LeaveHospitalDate")
        public String getLeaveHospitalDate() {
            return leaveHospitalDate;
        }

        public void setLeaveHospitalDate(String leaveHospitalDate) {
            this.leaveHospitalDate = leaveHospitalDate;
        }

        @XmlElement(name = "HighRisk")
        public String getHighRisk() {
            return highRisk;
        }

        public void setHighRisk(String highRisk) {
            this.highRisk = highRisk;
        }

        @XmlElement(name = "CheckDays")
        public String getCheckDays() {
            return checkDays;
        }

        public void setCheckDays(String checkDays) {
            this.checkDays = checkDays;
        }

        @XmlElement(name = "LastRecordId")
        public String getLastRecordId() {
            return lastRecordId;
        }

        public void setLastRecordId(String lastRecordId) {
            this.lastRecordId = lastRecordId;
        }

        @XmlElement(name = "NextRecordDate")
        public String getNextRecordDate() {
            return nextRecordDate;
        }

        public void setNextRecordDate(String nextRecordDate) {
            this.nextRecordDate = nextRecordDate;
        }
    }


}
